package com.zkc.pojo;

/**
 * @author Lucky
 * @date 2020/06/26
 */
public class Book {
    /**
     * 书籍id
     */
    private Integer bookid;
    /**
     * 书籍名称
     */
    private String bookname;
    /**
     * 书籍数量
     */
    private Integer bookcount;

    /**
     * 书籍描述
     */
    private String detail;

    public Book() {
    }

    public Book(Integer bookid, String bookname, Integer bookcount, String detail) {
        this.bookid = bookid;
        this.bookname = bookname;
        this.bookcount = bookcount;
        this.detail = detail;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Integer getBookcount() {
        return bookcount;
    }

    public void setBookcount(Integer bookcount) {
        this.bookcount = bookcount;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookid=" + bookid +
                ", bookname='" + bookname + '\'' +
                ", bookcount=" + bookcount +
                ", detail='" + detail + '\'' +
                '}';
    }
}
